package com.kzc.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * 车辆
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CarBean {

    private long stockId;  // 库存id

    private int brandId ; //品牌id

    private String brandName; //品牌名称

    private int modelId; //型号id

    private String modelName ; //型号名称

    private String modelPhoto ; //型号照片

    private int infoId ; //配置id

    private String carColor; //车辆颜色

    private String plateNumber ;  //车牌号

    private int carType ; //车辆类型

    private int carStatus ; //车辆状态 0 正常 1 故障

    private int stockStatus; //库存状态 0未分配 1分配中 2分配取消 3 分配完成 4收回

    private int startShop ; //

    private int endShop ;

    private String stockTime ;

    private List<CarPhotoBean> photoList;


    //分配库存表(门店所持有的车辆表) (对门店)

    private int distributionId ;

    private int shopId; //分配到得门店的Id

    private int distributionStatus; //分配 (1进行中 2 完成 3退回 4 召回)

    private int dispatchStatus ; //调度状态 (0未调度   1进行中 2已完成 3退回门店)

    private int dispatchFrom ; //调度的起始门店 如果是从库存直接发 则值为0 否则是上家的调度的id

    private int dispatchShop ; //调度门店

    private String dispatchStart ; //调度开始时间

    private String dispatchEnd ; //调度结束时间

    private String insertTime ; //插入时间


    public long getStockId() {
        return stockId;
    }

    public void setStockId(long stockId) {
        this.stockId = stockId;
    }


    public List<CarPhotoBean> getPhotoList() {
        return photoList;
    }

    public void setPhotoList(List<CarPhotoBean> photoList) {
        this.photoList = photoList;
    }


    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public int getModelId() {
        return modelId;
    }

    public void setModelId(int modelId) {
        this.modelId = modelId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelPhoto() {
        return modelPhoto;
    }

    public void setModelPhoto(String modelPhoto) {
        this.modelPhoto = modelPhoto;
    }

    public int getInfoId() {
        return infoId;
    }

    public void setInfoId(int infoId) {
        this.infoId = infoId;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public int getCarType() {
        return carType;
    }

    public void setCarType(int carType) {
        this.carType = carType;
    }

    public int getCarStatus() {
        return carStatus;
    }

    public void setCarStatus(int carStatus) {
        this.carStatus = carStatus;
    }

    public int getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(int stockStatus) {
        this.stockStatus = stockStatus;
    }

    public int getStartShop() {
        return startShop;
    }

    public void setStartShop(int startShop) {
        this.startShop = startShop;
    }

    public int getEndShop() {
        return endShop;
    }

    public void setEndShop(int endShop) {
        this.endShop = endShop;
    }

    public String getStockTime() {
        return stockTime;
    }

    public void setStockTime(String stockTime) {
        this.stockTime = stockTime;
    }

    public int getDistributionId() {
        return distributionId;
    }

    public void setDistributionId(int distributionId) {
        this.distributionId = distributionId;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getDistributionStatus() {
        return distributionStatus;
    }

    public void setDistributionStatus(int distributionStatus) {
        this.distributionStatus = distributionStatus;
    }


    public int getDispatchStatus() {
        return dispatchStatus;
    }

    public void setDispatchStatus(int dispatchStatus) {
        this.dispatchStatus = dispatchStatus;
    }

    public int getDispatchShop() {
        return dispatchShop;
    }

    public void setDispatchShop(int dispatchShop) {
        this.dispatchShop = dispatchShop;
    }

    public String getDispatchStart() {
        return dispatchStart;
    }

    public void setDispatchStart(String dispatchStart) {
        this.dispatchStart = dispatchStart;
    }

    public String getDispatchEnd() {
        return dispatchEnd;
    }

    public void setDispatchEnd(String dispatchEnd) {
        this.dispatchEnd = dispatchEnd;
    }

    public String getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(String insertTime) {
        this.insertTime = insertTime;
    }

    public int getDispatchFrom() {
        return dispatchFrom;
    }

    public void setDispatchFrom(int dispatchFrom) {
        this.dispatchFrom = dispatchFrom;
    }
}
